package com.hbx.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author hbx
 * @since 2022-01-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PkResult对象", description="")
public class PkResult implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "pk的id")
    private Integer pkId;

    @ApiModelProperty(value = "观点发布人id")
    private Integer resultUserId;

    @ApiModelProperty(value = "观点内容")
    private String resultContent;

    @ApiModelProperty(value = "1、正方，2、反方")
    private Integer resultType;

    @ApiModelProperty(value = "点赞数")
    private Integer resultNiu;

    @ApiModelProperty(value = "发布时间")
    private Date resultPublishDate;


}
